\hypertarget{wire_8c}{}\section{wire/wire.c File Reference}
\label{wire_8c}\index{wire/wire.\+c@{wire/wire.\+c}}


wireframe view code  


{\ttfamily \#include \char`\"{}user\+\_\+config.\+h\char`\"{}}\\*
{\ttfamily \#include $<$stdint.\+h$>$}\\*
{\ttfamily \#include $<$stdarg.\+h$>$}\\*
{\ttfamily \#include $<$string.\+h$>$}\\*
{\ttfamily \#include $<$math.\+h$>$}\\*
{\ttfamily \#include \char`\"{}display/ili9341.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}cordic/cordic.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}wire/wire\+\_\+types.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}wire/wire.\+h\char`\"{}}\\*
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{wire_8c_a86a09b73c1cd047d1ef464da418bf414}{wire2fp} (\hyperlink{structwire__p}{wire\+\_\+p} $\ast$in, \hyperlink{structpoint}{point} $\ast$out)
\item 
void \hyperlink{wire_8c_a6032c357c29e2854243ee86f93fee4e5}{wire\+\_\+draw} (\hyperlink{structwindow}{window} $\ast$win, const \hyperlink{structwire__p}{wire\+\_\+p} $\ast$wire, const \hyperlink{structwire__e}{wire\+\_\+e} $\ast$edge, \hyperlink{structpoint}{point} $\ast$view, int \hyperlink{ili9341_8c_a12ad102c2d1e7e119fdc040b0c922c7e}{x}, int \hyperlink{ili9341_8c_afe490938209e0b6b15224c05a01f0b40}{y}, double scale, \hyperlink{send_8c_a273cf69d639a59973b6019625df33e30}{uint16\+\_\+t} color)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
wireframe view code 

\begin{DoxyParagraph}{Copyright \copyright{} 2015 Mike Gore, G\+PL License}

\end{DoxyParagraph}
\begin{DoxyParagraph}{You are free to use this code under the terms of G\+PL}
please retain a copy of this notice in any code you use it in.
\end{DoxyParagraph}
This is free software\+: you can redistribute it and/or modify it under the terms of the G\+NU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This software is distributed in the hope that it will be useful, but W\+I\+T\+H\+O\+UT A\+NY W\+A\+R\+R\+A\+N\+TY; without even the implied warranty of M\+E\+R\+C\+H\+A\+N\+T\+A\+B\+I\+L\+I\+TY or F\+I\+T\+N\+E\+SS F\+OR A P\+A\+R\+T\+I\+C\+U\+L\+AR P\+U\+R\+P\+O\+SE. See the G\+NU General Public License for more details.

You should have received a copy of the G\+NU General Public License along with this program. If not, see \href{http://www.gnu.org/licenses/}{\tt http\+://www.\+gnu.\+org/licenses/}. 

\subsection{Function Documentation}
\index{wire.\+c@{wire.\+c}!wire2fp@{wire2fp}}
\index{wire2fp@{wire2fp}!wire.\+c@{wire.\+c}}
\subsubsection[{\texorpdfstring{wire2fp(wire\+\_\+p $\ast$in, point $\ast$out)}{wire2fp(wire_p *in, point *out)}}]{\setlength{\rightskip}{0pt plus 5cm}void wire2fp (
\begin{DoxyParamCaption}
\item[{{\bf wire\+\_\+p} $\ast$}]{in, }
\item[{{\bf point} $\ast$}]{out}
\end{DoxyParamCaption}
)}\hypertarget{wire_8c_a86a09b73c1cd047d1ef464da418bf414}{}\label{wire_8c_a86a09b73c1cd047d1ef464da418bf414}


Definition at line 41 of file wire.\+c.



Referenced by wire\+\_\+draw().

\index{wire.\+c@{wire.\+c}!wire\+\_\+draw@{wire\+\_\+draw}}
\index{wire\+\_\+draw@{wire\+\_\+draw}!wire.\+c@{wire.\+c}}
\subsubsection[{\texorpdfstring{wire\+\_\+draw(window $\ast$win, const wire\+\_\+p $\ast$wire, const wire\+\_\+e $\ast$edge, point $\ast$view, int x, int y, double scale, uint16\+\_\+t color)}{wire_draw(window *win, const wire_p *wire, const wire_e *edge, point *view, int x, int y, double scale, uint16_t color)}}]{\setlength{\rightskip}{0pt plus 5cm}void wire\+\_\+draw (
\begin{DoxyParamCaption}
\item[{{\bf window} $\ast$}]{win, }
\item[{const {\bf wire\+\_\+p} $\ast$}]{wire, }
\item[{const {\bf wire\+\_\+e} $\ast$}]{edge, }
\item[{{\bf point} $\ast$}]{view, }
\item[{int}]{x, }
\item[{int}]{y, }
\item[{double}]{scale, }
\item[{{\bf uint16\+\_\+t}}]{color}
\end{DoxyParamCaption}
)}\hypertarget{wire_8c_a6032c357c29e2854243ee86f93fee4e5}{}\label{wire_8c_a6032c357c29e2854243ee86f93fee4e5}


Definition at line 60 of file wire.\+c.



Referenced by test\+\_\+types(), and user\+\_\+loop().

